#!/usr/bin/python
# -*- coding: UTF-8 -*-

import requests

""" 
@version: 1.0
@author: jin.li.o
@license: Apache Licence 
@contact: x.leevin@gmail.com
@software: PyCharm
@file: http_get_1.py
@time: 2018/10/29
"""

url = 'http://yapi.demo.qunar.com/mock/13482/testGetReq'

res = requests.get(url)

print("code: {0} content:{1}".format(res.status_code, res.text))
